 <!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>设置中心</title>
    <script type="text/javascript">
        setting_data = {{ device_obj|safe }};
    </script>
    <script src="../../static/js/jquery.js"></script>
    <script src="../../static/js/proj-function.js"></script>
    <script src="../../static/js/heard.js"></script>
    <script src="../../static/js/setting.js"></script>
    <link rel="stylesheet" type="text/css" href="../../static/css/all-set.css">
</head>


<body>	
<div class="public">
	<div class="public_heard">
		<a id="link_to_device" href="#">设备监控</a>
		<a id="link_to_alarm" href='#'>报警查询</a>
		<a id="link_to_history" href='#'>历史数据</a>
		<a id="link_to_setting" href='#'>系统设置</a>
        <a id="link_to_user_setting" href="user_center.html">用户设置</a>
	</div>
</div>
<div class="public_body">
<div class="public_serach">
    <span>
        <input type="text" id="input_device_id"></input>
    	<button class="class_serach_button" id="button_serach_device_id"  onclick="onSearchDevice()">查找设备</button>
        <button class="class_serach_button" id="button_create_device_id" style="visibility: hidden;" >创建设备</button>
	</span>
    <div class="device_nodes">
    	<hr>
    	设备名称：<input class="input_static" id="input_device_name" value="未知设备">
        <hr>
        设备类型：<input class="input_static" id="input_device_type" value="未知类型">
        <hr>
        安装地址：<input class="input_static" id="input_device_address" value="未知地址">
        <hr>
        设备状态：<input class="input_static" readonly id="input_device_state" value="找不到设备">
{#        <select>#}
{#        	<option value="init" selected = "selected">init</option>#}
{#        	<option value="delete">delete</option>#}
{#        </select>#}
        <hr>
        设备用户：<textarea cols="100" rows="2" readonly class="input_textarea" id="input_device_users" >未知用户
        </textarea>
        <br>
        <span>       		
            <!-- /index/get_user_list/?id=1 -->
            <a href="#" id="button_change_user">更新</a>

        </span>
        <hr>
        备注信息：<textarea cols="100" rows="2" class="input_textarea" id="input_device_description" >无
        </textarea>
        <hr>
        间隔时间<select>       
        	<option value="1"> 1 </option>
            <option value="2"> 2 </option>
            <option value="3"> 3 </option>
            <option value="4"> 4 </option>
            <option value="5" selected = "selected"> 5 </option>
        </select>
        秒        
        <hr>  
         <div class="area" style="height: auto;width: 100%; margin: auto; ">
        <div class="leftarea" style="float:left;">
        上下限值：
        </div>
        <div class="rightarea" style="float: center; margin: 0 0 0 100px;">
           <table class="mini_table" id="table_sensor_list" >
                 <thead>
                    <th>数据流名称</th>
                    <th>最小范围值</th>
                    <th>最大范围值</th>
                    <th>单位</th>
                    <th>有效<input type="checkbox" id="table_sensor_setting_select_all" onclick="onSelectAllCheckBox()"></th>
                </thead>
                <tr>
                    <td>peek</td>
                    <td>0</td>
                    <td>1</td>
                    <td>db</td>
                    <td><input type="checkbox" class="table_sensor_setting_select"></td>
                </tr>
            </table>
        </div>
        </div>
  </div>
    <hr>
    <div class="bottom_function_area">
    	<span>
        	<button id="button_delete_device" >删除设备</button>
            <button id="button_save_change">保存修改</button>
        </span>
    </div>
</div>
</div>
</body>
</html>